package com.qnbc.venueReservation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qnbc.venueReservation.domain.Cart;

import java.util.List;

public interface CartMapper extends BaseMapper<Cart> {
    Cart selectCartById(Long id);

    List<Cart> selectCartList(Cart cart);

    int insertCart(Cart cart);

    int updateCart(Cart cart);

    int deleteCartByIds(Long[] ids);

    int deleteCartById(Long id);

    Integer getTotalNum();

    Integer getTotalPrice();

}
